package thread;

class MyThread extends Thread{
    @Override
    public void run(){
        System.out.println("hello thread");
    }
}
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Solitudefire
 * Date: 2022-08-08
 * Time: 15:40
 */
public class Demo1 {
    public static void main(String[] args) {
        Thread t = new MyThread();
        t.start();
    }
}
